package com.kirk.cts.webservice.manager;


import com.kirk.cts.webservice.manager.beans.*;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

/**
 * <p> ManagerService.java </p>
 *
 * @version 1.0.0
 * @Author kirkliu
 * @Date 2020-08-29 22:34
 * @Description wbx服务接口
 */
@WebService
@SOAPBinding(style = Style.RPC)
public interface ManagerService {

    /**
     * 登录
     *
     * @param userBean 用户值对象
     * @return 用户值对象
     */
    UserBean login(@WebParam(name = "userBean") UserBean userBean);

    /**
     * 退出登录
     *
     * @param userBean 用户值对象
     * @return 用户值对象
     */
    UserBean logout(@WebParam(name = "userBean") UserBean userBean);

    /**
     * 取得版本列表
     */
    VersionBean getVersion(@WebParam(name = "versionBean") VersionBean versionBean);

    /**
     * 留言反馈
     */
    FeedBackBean feedBack(@WebParam(name = "feedBackBean") FeedBackBean feedBackBean);

    /**
     * 取得返回信息列表edBackBean
     */
    PaginationBean<FeedBackBean> getFeedBackList(@WebParam(name = "feedBackBean") FeedBackBean feedBackBean);

    /**
     * 取得系统消息列表
     */
    PaginationBean<MsgBean> getMsgList(@WebParam(name = "msgBean") MsgBean msgBean);

    /**
     * 更新采集数量
     *
     * @param userId 用户ID
     * @param size   采集数量
     */
    void updateGatherSize(Integer userId, Integer size);
}
